<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var p1 = {
				name:'yuonly',
				age:18,
				sex:'boy'
			}
			// 对象的属性,可以理解成变量.只不过它是由所属关系的变量.使用方法,对象.属性名
			p1.name = '老王';
			console.log(p1.name);
			
			var n1 = '小刘';
			console.log(n1);
			
		</script>
	</head>
	<body>
	</body>
</html>
